package com.gzy.xuexiziliao.pojo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Information {
    //资讯id
    private int informationId;
    // 标题
    private String title;
    // 内容
    private String content;
    // 分类id
    private int categoryId;
    // 状态 1为发表，0为草稿
    private int status;
    // 创建时间
    private LocalDateTime createTime;
    // 更新时间
    private LocalDateTime updateTime;
    // 资讯分类名
    private String categoryName;



}